package com.vueblog.webapi.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author lsj
 * @create 2021-05-25 12:29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
public class CreateOrUpdateTagRequest {

    /**
     * 标签名
     */
    @NotEmpty
    private String name;

}
